﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Entity
{
    /// <summary>
    /// 输送线写入实体
    /// </summary>
    public class ConveyWriteData
    {
        /// <summary>
        /// 指令类型
        /// </summary>
        public int? CommandType { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 托盘号
        /// </summary>
        public string TrayBarCode { get; set; }

        /// <summary>
        /// 巷道号
        /// </summary>
        public string EndWarhouse { get; set; }

        /// <summary>
        /// 层数
        /// </summary>
        public string EndLayer { get; set; }

        /// <summary>
        /// 起始位置
        /// </summary>
        public string StartStation { get; set; }

        /// <summary>
        /// 目标位置
        /// </summary>
        public string EndStation { get; set; }
        
        /// <summary>
        /// WMS操作库位
        /// </summary>
        public string WMSBinCode { get; set; }

        /// <summary>
        /// 允许放行
        /// </summary>
        public int AllowRelease { get; set; }
    }

    /// <summary>
    /// 输送线写入实体
    /// </summary>
    public class WriteData
    {
        /// <summary>
        /// A001的1层开始上料
        /// </summary>
        public bool A001LoadStart1 { get; set; }

        /// <summary>
        /// A001的2层开始上料
        /// </summary>
        public bool A001LoadStart2 { get; set; }

        /// <summary>
        /// A007的1层开始上料
        /// </summary>
        public bool A007LoadStart1 { get; set; }

        /// <summary>
        /// A007的2层开始上料
        /// </summary>
        public bool A007LoadStart2 { get; set; }

        /// <summary>
        /// B001的1层开始下料
        /// </summary>
        public bool B001DownStart1 { get; set; }

        /// <summary>
        /// B001的2层开始下料
        /// </summary>
        public bool B001DownStart2 { get; set; }

        /// <summary>
        /// B007的1层开始下料
        /// </summary>
        public bool B007DownStart1 { get; set; }

        /// <summary>
        /// B007的2层开始下料
        /// </summary>
        public bool B007DownStart2 { get; set; }
    }
}
